package com.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    TestController(){
        System.out.println("new TestController instance ++++++++++++++++++++++++++++++++++++++++++++++++");
    }

    @RequestMapping("/")
    public String index(){
        return "this is index";
    }
}
